﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.From {

	/// <summary>
	/// 免维护
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_freeServicing", DisableSyncStructure = true)]
	public partial class TFreeServicing {

		/// <summary>
		/// 主键唯一Id
		/// </summary>
		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		/// <summary>
		/// A相电流A
		/// </summary>
		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? AElectric { get; set; }

		/// <summary>
		/// 蓄电池电压V
		/// </summary>
		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BatteryVolt { get; set; }

		/// <summary>
		/// B相电流A
		/// </summary>
		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BElectric { get; set; }

		/// <summary>
		/// C相电流A
		/// </summary>
		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? CElectric { get; set; }

		/// <summary>
		/// 数据录入时间
		/// </summary>
		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 设备Id十进制形式
		/// </summary>
		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		/// <summary>
		/// GPRS信号强度
		/// </summary>
		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? PRS { get; set; }

		/// <summary>
		/// 总电流A
		/// </summary>
		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? TElectric { get; set; }

		/// <summary>
		/// 设备唯一标识Id
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

		/// <summary>
		/// 设备数据采集时间
		/// </summary>
		[JsonProperty]
		public DateTime? Time { get; set; }

	}

}
